package com.artpri.dao.impl;

import java.util.List;

import com.artpri.dao.GoodsCommentDao;
import com.artpri.model.GoodsComment;

/**
 * @author ZhangSi
 */
public class GoodsCommentDaoImpl extends HibernateDaoImpl<GoodsComment> implements GoodsCommentDao{

	@Override
	public List<GoodsComment> getGoodsCommentByGoods(int goodsNum) {
		return find("from GoodsComment g where g.goodsNum=?0", goodsNum);
	}
}
